Skip to content
  • mysensors on rpi with NRF2401 with Domoticz

    Domoticz raspberry pi
    18
    0 Votes
    18 Posts
    95 Views
    dirkjuD
    @goblin feel free to share concrete error messages or questions. We might be able to help on well-described problems. Otherwise - hope ChatGPT can help you ;-)
  • 0 Votes
    2 Posts
    41 Views
    E
    @OldSurferDude well, the ESP8266 is limited to 4 TCP clients in arduino IDE. This can't be really increased. I did som experiments and you can set it up to 15, but after the 5th client on my web server, I got a freeze. Maybe you got something wrong. #define MY_GATEWAY_MAX_CLIENTS 2 defines how many controllers (eg Home Assistant) can connect to the gateway, not how many sensors/MySensors devices. And yes, you can have multiple TCP gateways in HomeAssistant. I got an NRF24, an RFM95 long range and a RFM95 short range gateway (all based on ESP32) on the same Home Assistant. Regards, Edi
  • 0 Votes
    2 Posts
    19 Views
    OldSurferDudeO
    @nrf24_is_hard When I sent data between an Aduino and the RPi I discovered that I have to make the the receiving and the sending structs the same size AND the variables be on 4 byte boundaries. Change your char name[15] to char name[16] Another challenge is that the number of bytes of type int are different. If I remember correctly, Arduino Uno is 2 bytes and RPi is 4 bytes. To make matters worse, some compilers make the least significant byte the first byte of a word and others make it the last byte of a word. eg, sending the value 1 would be received as 16777216 (0x00000001 vs 0x01000000) There are a lot more gotcha's ;) OSD
  • 0 Votes
    1 Posts
    21 Views
    No one has replied
  • 0 Votes
    5 Posts
    50 Views
    zboblamontZ
    @jvdk I agree with the point made by @evb , why would you want to wire connect the ultrasonic node rather than the usual radio connection ? You are adding levels of complexity and power demands for what reason ? My ultrasonic water tank node (pro-mini+rfm69) is now 2 years on the same 2xAA batteries sending in levels every hour (RTC), the only problem encountered - condensation forming a drip on the face of the ultrasonic head during very low temperatures.
  • Cross compile mysensors gateway

    General Discussion gateway raspberry pi
    6
    0 Votes
    6 Posts
    97 Views
    Jasper van ZuijlenJ
    As promised, what I found so far: the following dockerfile yeilds a usable cross-compile environment, provided you use it with a Makefile. FROM ubuntu:xenial RUN apt-get update \ && apt-get install --yes \ vim \ build-essential \ git RUN git clone https://github.com/raspberrypi/tools RUN git clone https://gist.github.com/3873805.git /build WORKDIR "/build" CMD ["/usr/bin/make", "CC=/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc" , "HelloWorld"] # Seems I need a real makefile for the above to work. For cross compiling mysensors to work, hoever, you also need to properly seed the variable in configure, for it to work correctly. This is where I left off. Sources: https://stackoverflow.com/questions/18007326/how-to-change-default-values-of-variables-like-cc-in-makefile https://bitbucket.org/mitchallen/pi-hello-cross-compile/src/master/ https://desertbot.io/blog/how-to-cross-compile-for-raspberry-pi https://github.com/mitchallen/pi-cross-compile/blob/master/Dockerfile https://github.com/mysensors/MySensors/blob/development/configure https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin https://www.raspberrypi.org/documentation/linux/kernel/building.md https://www.mysensors.org/build/raspberry
  • Parallel Gateways

    General Discussion gateway raspberry pi arduino
    10
    0 Votes
    10 Posts
    69 Views
    skywatchS
    @jocke4u I run 2 RF gateways and it's not a problem. When you 'migrate' a node to a new gateway make sure to run the mysensors clear eeprom sketch first to get rid of the old routing table or you might have issues.
  • 0 Votes
    6 Posts
    688 Views
    J
    Hi, you can try these power supplies: https://www.aliexpress.com/store/group/UPS-Charge-Function-switch-power-supply/1242857_501520362.html?spm=a2g0o.detail.100008.25.56f87402HSB2Og The are for 12V, but also support an external battery. I have two that work very well.
  • 💬 Hmi4DinBox

    OpenHardware.io arduino raspberry pi i2c hmi din enclosure nano pi
    1
    0 Votes
    1 Posts
    453 Views
    No one has replied
  • 0 Votes
    6 Posts
    1k Views
    tianaT
    Advantage of this sensor is fast and easy installing by the non qualified personal. The sensor is designed for large agriculture facility with many greenhouses where is needed to be controlled temperature and humidity, the atmospheric pressure is for control the motor of air inlet and outlet. With help of the sensor installed outside the greenhouse provide information about positive/negative pressure inside the greenhouse. Finlay the software read accurate temp/humid value of the Si7021, and only atmospheric pressure of BMP180, the temperature sensor inside the BMP180 is used only by the sensor itself to provide accurate atmospheric pressure measurements. The sensor can be used also for home automation, and drone applications where is needed correction of the UAV barometric sensor compared to the ground barometric sensor, also humidity measurement can help the pilot to calculate more accurate flying time.
  • 💬 UtiliPi

    OpenHardware.io i2c gpio raspberry pi adc spi
    1
    0 Votes
    1 Posts
    656 Views
    No one has replied
  • PIR sensor or kinda?

    Hardware raspberry pi motion sensor pir
    5
    0 Votes
    5 Posts
    1k Views
    gohanG
    if you find a way to make it work, pls share the project :)
  • 0 Votes
    15 Posts
    4k Views
    gohanG
    @neverdie that's quite some money...
  • 💬 Dollhouse

    Announcements mysensors raspberry pi maker faire nrf24l01+
    2
    0 Votes
    2 Posts
    1k Views
    D
    Awesome project, I wish I made something like this. (I actually wanted to make something like this when I was in school) Very clean and nice presentation and realization, with a lot of attention to details. All is very realistic, I can imagine that it took quite some time making it. Thanks for sharing the details!
  • 0 Votes
    11 Posts
    4k Views
    bobbybobbybobbyB
    @bobbybobbybobby @pansen and @tbowmo fimaly i got arduino ide running on my rpi!!! i was trying this for about a weeks now. thanks for the support.
  • 2 Votes
    3 Posts
    2k Views
    jbjallingJ
    Firmware upload doesn't seem to work :-/ BR Jonas
  • 14 Votes
    168 Posts
    175k Views
    mfalkviddM
    @ricorico94 welcome to the MySensors commu ity! All you need to do when switching from raspberry pi gateway to ethernet gateway is change the "hardware" configuration in Domoticz. However, if you are just starting out, don't use this gateway. It works for MySensors 1.x only. Use the new raspberry pi gateway instead.

24

Online

11.7k

Users

11.2k

Topics

113.1k

Posts